# SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
#
# SPDX-License-Identifier: GPL-3.0-or-later

@PACKAGE_INIT@

set_and_check(DdeWidgets_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set(DdeWidgets_PLUGIN_DIR "@PACKAGE_PLUGIN_INSTALL_DIR@")
set(DdeWidgets_LIBRARIES dde-widgets)

function(install_dde_widgets_plugin plugin)
    install(TARGETS ${plugin} DESTINATION ${DdeWidgets_PLUGIN_DIR})
endfunction()

check_required_components(DdeWidgets)
